package com.briup.day10.bean;

public class SF {
    /*
     * final 修飾静态成员变量
     * 1.显示初始化
     * 2.静态代码块初始化
     * */
//    private final static int num=10;
//    public static int getNum() {
//        return num;
//    }
//    private final static int num1;
//    static  {
//        num1=1;
//    }
    private int num = 10;

    public SF(int num) {
        this.num = num;
    }

    public void setNum(int num) {

        this.num = num;
    }

}
